package com.huike.review.service;

import com.github.pagehelper.PageInfo;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {


    void saveData(String name, Integer age, String sex);

    void saveData1(MybatisReviewVO mybatisReviewVO);

    void update(MybatisReviewVO mybatisReviewVO);

    void delete(Long id);

    MybatisReviewVO getById(Long id);

    PageInfo<MybatisReviewVO> getDateByPage(Integer pageNum, Integer pageSize);
}
